package com.san.hkhospital.service;

import java.util.List;
import com.san.hkhospital.entity.PatientExample;
import com.san.hkhospital.entity.Patient;
    /**
 * ClassName:PatientService
 * PackageName:com.san.hkhospital.service
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 14:38
 * 
 */
 
 
public interface PatientService{


    long countByExample(PatientExample example);

    int deleteByExample(PatientExample example);

    int deleteByPrimaryKey(Integer patientId);

    int insert(Patient record);

    int insertSelective(Patient record);

    List<Patient> selectByExample(PatientExample example);

    Patient selectByPrimaryKey(Integer patientId);

    int updateByExampleSelective(Patient record,PatientExample example);

    int updateByExample(Patient record,PatientExample example);

    int updateByPrimaryKeySelective(Patient record);

    int updateByPrimaryKey(Patient record);
    List<Patient>  selectList();
    }
